package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Album;
import com.baizhi.springboot.entity.AlbumDTO;

import java.util.List;
import java.util.Map;

public interface AlbumService {
    Map selectAlbumByPage(Integer page, Integer limit);

    void insertAlbum(Album album);

    void deleteAlbum(Integer id);

    Album selectOneAlbum(Integer id);

    void updateAlbum(Album album);


    List<Album> selectAllAlbum();

    List<Map> getAudioNumber();

    List<AlbumDTO> getAudioNumberList();
}
